import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {IndexComponent} from './index/index.component';
import {RouterModule} from '@angular/router';
import {homeRouter} from './home.rouer';
import {TranslateModule} from '@ngx-translate/core';
//引入公共模块
import {Public1Module} from '../public1/public1.module';
@NgModule({
  imports: [
    CommonModule,
    RouterModule.forChild(homeRouter),
    //引入公共模块
    Public1Module,
    TranslateModule
  ],
  declarations: [
    //声明自己模块的组件
    IndexComponent
  ],
  entryComponents: []
})
export class HomeModule {
}
